Actor Schism_SMG : Schism_BaseWeapon
{
	Weapon.PreferredSkin "Smg Marine"
	Weapon.AmmoType1 "BDSMGAmmo"
	Weapon.AmmoGive1 0
	Weapon.AmmoUse1 1
	Weapon.AmmoType2 "Clip1"
	Weapon.AmmoGive2 40
	Weapon.AmmoUse2 0
	Obituary "%o was shot down by %k's SMG."
	Inventory.ForbiddenTo Corvus
	Inventory.PickupSound "SMGDRAW"
	Inventory.Pickupmessage "You got the SMG! (Slot 2)"
	+WEAPON.NOALERT
    +WEAPON.NOAUTOAIM
    +WEAPON.NOAUTOFIRE
	+WEAPON.AMMO_OPTIONAL
	Tag "Sub-MachineGun"
	AttackSound "None"
	Scale 0.9
	States
	{
		Spawn:
			SMGZ A -1
			Stop
		
		Select:
			SMGG A 0 A_Raise
			Wait 
		
		Deselect:
			PSSL A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			MSMS A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGS A 0
			"####" "#" 0 
			"####" "#" 0 A_TakeInventory("Kicking", 1)
			"####" "#" 0 A_TakeInventory("TossGrenade", 1)
			"####" "#" 0 A_JumpIfInventory("Zoomed", 1, "Deselect2")
			"####" FEDCBA 1
			DeselectLoop:
			TNT1 A 0 A_Lower
			Wait
		
		Deselect2:
			SMGG A 0 A_TakeInventory("Zoomed", 1)
			SMGG A 0 A_TakeInventory("ADSMode", 1)
			Deselect2Loop:
			TNT1 A 0 A_ZoomFactor(1.0)
			TNT1 A 0 A_Lower
			Loop

		Ready:
			TNT1 A 0 A_PlaySound("CLIPIN")
			PSSL A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			MSMS A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGS A 0
			"####" ABCDEF 1
			ReadyLoop:
			PSMG A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			MSMG A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGG A 0
			"####" A 0
			"####" A 0 A_JumpIfInventory("Zoomed", 1, "ReadyInZoom")
			"####" A 1 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("Kicking", 1, "DoKick")
			"####" A 0 A_JumpIfInventory("Taunting", 1, "Taunt")
			"####" A 0 A_JumpIfInventory("Reloading", 1, "Reload")
			"####" A 0 A_JumpIfInventory("TossGrenade", 1, "TossGrenade")
			"####" A 0 A_JumpIfInventory("Reloading", 1, "Reload")
			"####" A 0 A_JumpIfInventory("StartDualWield", 1,"DualWield")
			"####" F 0 A_JumpIfInventory("Quickspell", 1, "Quickspell")
			TNT1 A 0 A_SetCrosshair(13)
			Loop
			
		ReadyInZoom:
			SMPS A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			SMMS A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGA A 0
			"####" A 0 A_JumpIfInventory("Kicking", 1, "ExitFromZoom")
			"####" A 0 A_JumpIfInventory("Taunting", 1, "ExitFromZoom")
			"####" A 0 A_JumpIfInventory("Reloading", 1, "ExitFromZoom")
			"####" A 0 A_JumpIfInventory("TossGrenade", 1, "ExitFromZoom")
			"####" A 1 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("Reloading", 1, "ExitFromZoom")
			"####" A 0 A_JumpIfInventory("StartDualWield", 1, "ExitFromZoom")
			Loop	
		
		Fire:
			PSF1 F 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			MSMF A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGF A 0
			"####" "#" 0 A_JumpIfNoAmmo("NoAmmo")
			"####" "#" 0 A_JumpIfInventory("Zoomed", 1, "FireInZoom")
			"####" "#" 0 A_JumpIfInventory("FrostEnchantedSMG", 1, 2)
			"####" "#" 0 A_AlertMonsters
			"####" "#" 0 A_SpawnItemEx("PlayerMuzzle1", 30, 5, 30)
			"####" "#" 0 A_PlaySound("FARSHT", 6)
			"####" "#" 0 A_PlaySound("SMGFIRE", 1)
			"####" "#" 0 A_ZoomFactor(0.99)
			CheckForFireType:
			"####" "#" 0 A_JumpIfInventory("FireEnchantedSMG", 1, "FireEnchanchment")
			"####" "#" 0 A_JumpIfInventory("LightningEnchantedSMG", 1, "ElEnchanchment")
			"####" "#" 0 A_JumpIfInventory("FrostEnchantedSMG", 1, "FrostEnchanchment")
			Goto NormalFire
			FireEnchanchment:
			"####" A 1 BRIGHT A_FireBullets(3.5, 3.5, 1, 25, "FirePuff", FBF_NORANDOM | FBF_USEAMMO)
			Goto EndOfFire
			ElEnchanchment:
			"####" A 1 BRIGHT A_FireBullets(3.5, 3.5, 1, 33, "TeslaPuff", FBF_NORANDOM | FBF_USEAMMO)
			Goto EndOfFire
			FrostEnchanchment:
			"####" A 1 BRIGHT A_FireBullets(3.5, 3.5, 1, 29, "FrostPuff", FBF_NORANDOM | FBF_USEAMMO)
			Goto EndOfFire
			NormalFire:
			"####" A 1 BRIGHT A_FireBullets(3.5, 3.5, 1, 17, "WeakPuff", FBF_NORANDOM | FBF_USEAMMO)
			EndOfFire:
			"####" "#" 0 A_ZoomFactor(1.0)
			"####" "#" 0 A_FireCustomMissile("DecorativeTracer", random(-1, 1), 0, 0, 0)
			"####" "#" 0 A_Takeinventory("BDDualSMGAmmo", 1)
			"####" B 1
			"####" "#" 0 A_FireCustomMissile("PistolCaseSpawn", 5, 0, 0, -9)
			"####" C 1 
			
			"####" "#" 0 A_SetPitch(pitch - 1.0)
			"####" "#" 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			"####" "#" 0 A_SetPitch(pitch + 1.0)
			
			PSMG A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			MSMG A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGG A 0
			"####" "#" 0 A_ReFire
			"####" A 7 A_WeaponReady(1)
			Goto ReadyLoop
		
		 FireInZoom:
			SMPS A 0 A_JumpIfInventory("BDSMGAmmo", 1, 2)
			Goto NoAmmoInZoom
			SMPS A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			SMMS A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGA A 0
			"####" "#" 0 A_JumpIfInventory("FrostEnchantedSMG", 1, 2)
			"####" "#" 0 A_AlertMonsters
			"####" "#" 0 A_PlaySound("FARSHT", 6)
			"####" "#" 0 A_PlaySound("SMGFIRE", 1)
			"####" "#" 0 A_ZoomFactor(1.33)
			CheckForFireTypeInZoom:
			"####" "#" 0 A_JumpIfInventory("FireEnchantedSMG", 1, "FireEnchanchmentInZoom")
			"####" "#" 0 A_JumpIfInventory("LightningEnchantedSMG", 1, "ElEnchanchmentInZoom")
			"####" "#" 0 A_JumpIfInventory("FrostEnchantedSMG", 1, "FrostEnchanchmentInZoom")
			Goto NormalFireInzoom
			FireEnchanchmentInZoom:
			"####" B 1 Bright A_FireBullets(1, 1, 1, 25, "FirePuff", FBF_NORANDOM)
			Goto EndOfFireInZoom
			ElEnchanchmentInZoom:
			"####" B 1 Bright A_FireBullets(0, 0, 1, 33, "TeslaPuff", FBF_NORANDOM)
			Goto EndOfFire
			FrostEnchanchmentInZoom:
			"####" B 1 Bright A_FireBullets(0, 0, 1, 29, "FrostPuff", FBF_NORANDOM)
			Goto EndOfFireInZoom
			NormalFireInZoom:
			"####" B 1 BRIGHT A_FireBullets (2, 2, 1, 17, "WeakPuff", FBF_NORANDOM)
			EndOfFireInZoom:
			"####" "#" 0 A_ZoomFactor(1.3)
			"####" "#" 0 A_FireCustomMissile("DecorativeTracer", random(-1, 1), 0, 0, 0)
			"####" "#" 0 A_Takeinventory("BDSMGAmmo", 1)
			"####" "#" 0 A_Takeinventory("BDDualSMGAmmo", 1)
			"####" C 1
			"####" "#" 0 A_FireCustomMissile("PistolCaseSpawn", 5, 0, 0, -9)
			"####" D 1 
			"####" "#" 0 A_SetPitch(pitch - 0.5)
			"####" "#" 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			"####" "#" 0 A_SetPitch(pitch + 0.5)
			"####" "#" 0 A_JumpIfInventory("FiredSecondary", 1, "ADSMode")
			"####" "#" 0 A_ReFire
			"####" A 1 A_WeaponReady(1)
			"####" A 7 A_WeaponReady(1)
			Goto ReadyLoop	
	
		AltFire:
		Zoom:
			SMGG A 0
			TNT1 A 0 A_SetCrosshair(41)
			SMGG A 0 A_Giveinventory("GoSpecial", 1)
			SMGG A 0 A_JumpIfInventory("Zoomed", 1, "ExitFromZoom")
			SMGG A 0 A_Giveinventory("Zoomed", 1)
			SMGG A 0 A_ZoomFactor(1.3)
			SMGG A 0 A_Giveinventory("ADSmode", 1)
			PSMG A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			MSMG A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGG A 0
			"####" A 3
			SMPS A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			SMMS A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGA A 0
			"####" A 0 A_JumpIfInventory("FiredPrimary", 1, "Fire")
			"####" A 1 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("FiredPrimary", 1, "Fire")
			"####" A 1 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("FiredPrimary", 1, "Fire")
			"####" A 1 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("FiredPrimary", 1, "Fire")
			"####" A 1 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("FiredPrimary", 1, "Fire")
			"####" A 1 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("FiredPrimary", 1, "Fire")
			"####" A 2 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("FiredPrimary", 1, "Fire")
			"####" A 0 A_JumpIfInventory("FiredSecondary", 1, "ADSMode")
			Goto ReadyInZoom
		
		ADSMode:	
			SMPS A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			SMMS A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGA A 0
			"####" A 0 A_JumpIfInventory("FiredPrimary", 1, "Fire")
			"####" A 1 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("FiredPrimary", 1, "Fire")
			"####" A 1 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("FiredPrimary", 1, "Fire")
			"####" A 1 A_WeaponReady(WRF_ALLOWRELOAD)
			"####" A 0 A_JumpIfInventory("FiredSecondary", 1, "ADSMode")
			Goto ExitFromZoom
			
		ExitFromZoom:
			SMGG A 0 A_TakeInventory("Zoomed", 1)
			SMGG A 0 A_ZoomFactor(1.0)
			SMGG A 0 A_TakeInventory("ADSmode", 1)
			SMGG A 0 A_GiveInventory("GoSpecial", 1)
			SMPS A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			SMMS A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGA A 0
			"####" A 3
			Goto ReadyLoop
		
		Reload:
			PSMG A 0 A_JumpIfInventory("IsPaladin", 1, "PallyReloadAnim")	
			MSMG A 0 A_JumpIfInventory("IsSorcerer", 1, "SorcyReloadAnim")
			SMGG A 0
			"####" "#" 0 A_ZoomFactor(1.0)
			"####" "#" 0 A_TakeInventory("Zoomed", 1)
			"####" "#" 0 A_TakeInventory("ADSmode", 1)
			"####" "#" 0 A_TakeInventory("Reloading", 1)
			"####" A 0 A_JumpIfInventory("BDSMGAmmo", 41, "ReadyLoop")
			"####" A 0 A_JumpIfInventory("Clip1", 1, 1)
			Goto ReadyLoop
			"####" "#" 0 A_SetCrosshair(41)
			"####" "#" 0 A_JumpIfInventory("TurboReload", 1, "RefillTo40")
			"####" "#" 0 A_FireCustomMissile("EmptyClipSpawn", -5, 0, 8, -4)
			"####" "#" 0 A_PlaySound("SMGMOUT")
			SMGR ABCCDDEEFFGH 1
			SMGG A 0 A_PlaySound("SMGMAGIN")
			SMGR IIIIJKLMNOPQRST 1
			"####" "#" 0 A_JumpIfInventory("BDSMGAmmo", 1, "RefillTo41")
			Goto RefillTo40	
		
		PallyReloadAnim:
			"####" "#" 0 A_ZoomFactor(1.0)
			"####" "#" 0 A_TakeInventory("Zoomed", 1)
			"####" "#" 0 A_TakeInventory("ADSmode", 1)
			"####" "#" 0 A_TakeInventory("Reloading", 1)
			"####" A 0 A_JumpIfInventory("BDSMGAmmo", 41, "ReadyLoop")
			"####" A 0 A_JumpIfInventory("Clip1", 1, 1)
			Goto ReadyLoop
			"####" "#" 0 A_SetCrosshair(41)
			"####" "#" 0 A_JumpIfInventory("TurboReload", 1, "RefillTo40")
			"####" "#" 0 A_FireCustomMissile("EmptyClipSpawn", -5, 0, 8, -4)
			"####" "#" 0 A_PlaySound("SMGMOUT")
			PSRR ABCDEFGHIJKLMNOPQRSTUVWXYZ 1
			SMGG A 0 A_PlaySound("SMGMAGIN")
			PSRL ABCDEFGHIJKLMNOPQRST 1
			"####" "#" 0 A_JumpIfInventory("BDSMGAmmo", 1, "RefillTo41")
			Goto RefillTo40
			
		SorcyReloadAnim:
			"####" "#" 0 A_ZoomFactor(1.0)
			"####" "#" 0 A_TakeInventory("Zoomed", 1)
			"####" "#" 0 A_TakeInventory("ADSmode", 1)
			"####" "#" 0 A_TakeInventory("Reloading", 1)
			"####" A 0 A_JumpIfInventory("BDSMGAmmo", 41, "ReadyLoop")
			"####" A 0 A_JumpIfInventory("Clip1", 1, 1)
			Goto ReadyLoop
			"####" "#" 0 A_SetCrosshair(41)
			"####" "#" 0 A_JumpIfInventory("TurboReload", 1, "RefillTo40")
			"####" "#" 0 A_FireCustomMissile("EmptyClipSpawn", -5, 0, 8, -4)
			"####" "#" 0 A_PlaySound("SMGMOUT")
			MSMR BBCCDDEEFFGH 1
			SMGG A 0 A_PlaySound("SMGMAGIN")
			MSMR IIIIJKLMNOPQRS 1
			"####" "#" 0 A_JumpIfInventory("BDSMGAmmo", 1, "RefillTo41")
			Goto RefillTo40
		
		RefillTo40:
			"####" "#" 0 A_TakeInventory("Clip1", 1)
			"####" "#" 0 A_GiveInventory("BDSMGAmmo", 1)
			"####" "#" 0 A_GiveInventory("BDDualSMGAmmo", 1)
			"####" "#" 0 A_JumpIfInventory("BDSMGAmmo", 40, "FinishRealod")
			"####" "#" 0 A_JumpIfInventory("Clip1", 1, "RefillTo40")
			Goto ReadyLoop
			
		RefillTo41:
			"####" "#" 0 A_TakeInventory("Clip1", 1)
			"####" "#" 0 A_GiveInventory("BDSMGAmmo", 1)
			"####" "#" 0 A_GiveInventory("BDDualSMGAmmo", 1)
			"####" "#" 0 A_JumpIfInventory("BDSMGAmmo", 41, "FinishRealod")
			"####" "#" 0 A_JumpIfInventory("Clip1", 1, "RefillTo41")
			Goto ReadyLoop
			
		FinishRealod:
			"####" "#" 0 A_ReFire
			Goto ReadyLoop	
			
		NoAmmo:
			PSMG A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			MSMG A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGG A 0
			"####" "#" 0 A_JumpIfInventory("Zoomed", 1, "NoAmmoInZoom")
			"####" "#" 0 A_JumpIfInventory("noautoreload", 1, 2)
			Goto Reload
			"####" "#" 0 A_JumpIfInventory("TurboReload", 1, "RefillTo40")
			"####" "#" 0 A_PlaySound("weapons/empty", 4)
			"####" A 5 A_WeaponReady(WRF_ALLOWRELOAD | WRF_NOPRIMARY)
			Goto ReadyLoop
						
		NoAmmoInZoom:
			RIFG A 0 A_JumpIfInventory("TossGrenade", 1, "ExitFromZoom")
			RIFG A 0 A_JumpIfInventory("Taunting", 1, "ExitFromZoom")
			RIFG A 0 A_JumpIfInventory("Kicking", 1, "ExitFromZoom")
			SMPS A 0 A_JumpIfInventory("IsPaladin", 1, 3)	
			SMMS A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			SMGA A 0
			"####" A 5 A_WeaponReady(WRF_ALLOWRELOAD | WRF_NOPRIMARY)
			RIFG A 0 A_JumpIfInventory("Reloading", 1, "Reload")
			RIFG A 0 A_JumpIfInventory("TurboReload", 1, "RefillTo40")
			TNT1 A 0 A_JumpIfInventory("NoAutoReload", 1, "NoAmmoInZoom")
			RIFG A 0 A_JumpIfInventory("Clip1", 1, "Reload")
			RIFG A 0 A_JumpIfInventory("FiredPrimary", 1, "NoAmmoInZoom")
			Goto ReadyLoop
		
		DualWield:
			"####" A 1
			"####" A 0 A_TakeInventory("StartDualWield", 1)
			"####" A 0 A_JumpIfInventory("IsSorcerer", 1, "Enchanting")
			"####" A 0 A_JumpIfInventory("DualSMG", 1, "GetDual")
			"####" A 0 A_Print("You must have two identical weapons to dual wield.")
			Goto ReadyLoop
		
		GetDual:	
			SMGG A 0 A_TakeInventory("Zoomed", 1)
			SMGG A 0 A_TakeInventory("ADSmode", 1)
			SMGG A 0 A_TakeInventory("TossGrenade", 1)
			SMGG A 0 A_TakeInventory("Kicking", 1)
			SMGG A 0 A_TakeInventory("Taunting", 1)
			SMGG A 0 A_TakeInventory("Reloading", 1)
			SMGG A 0 A_TakeInventory("Unloading", 1)
			SMGG A 0 A_TakeInventory("Salute1", 1)
			SMGG A 0 A_TakeInventory("Salute2", 1)
			SMGG A 0 A_ZoomFactor(1.0)
			SMGG A 0 A_SelectWeapon("DualSMG")
			Goto ReadyLoop
			
		Steady:
			TNT1 A 1
			Goto ReadyLoop
				
		Enchanting:
			TNT1 A 0 A_JumpIfInventory("QuickFireSpellSelected", 1, "FireEnchant")
			TNT1 A 0 A_JumpIfInventory("QuickLightningSpellSelected", 1, "LightningEnchant")
			TNT1 A 0 A_JumpIfInventory("QuickFrostSpellSelected", 1, "FrostEnchant")
			FireEnchant:
			"####" F 0 A_Print("Now your SMG is spreading fire")
			TNT1 A 0 A_GiveInventory("FireEnchantedSMG", 1)
			TNT1 A 0 A_TakeInventory("FrostEnchantedSMG", 1)
			TNT1 A 0 A_TakeInventory("LightningEnchantedSMG", 1)
			Goto ReadyLoop
			
		LightningEnchant:
			"####" F 0 A_Print("Now your SMG is zapping")
			TNT1 A 0 A_GiveInventory("LightningEnchantedSMG", 1)
			TNT1 A 0 A_TakeInventory("FrostEnchantedSMG", 1)
			TNT1 A 0 A_TakeInventory("FireEnchantedSMG", 1)
			Goto ReadyLoop

		FrostEnchant:
			"####" F 0 A_Print("Now your SMG is ice-cool")
			TNT1 A 0 A_GiveInventory("FrostEnchantedSMG", 1)
			TNT1 A 0 A_TakeInventory("LightningEnchantedSMG", 1)
			TNT1 A 0 A_TakeInventory("FireEnchantedSMG", 1)
			Goto ReadyLoop
			
		TossGrenade: //14 tic
			TNT1 A 0 A_JumpIfInventory("IsPaladin", 1, "PallyGrenadeToss")
			TNT1 A 0 A_JumpIfInventory("IsSorcerer", 1, "CheckTypeWall")
			TNT1 A 0 A_TakeInventory("TossGrenade", 1)
			TNT1 A 0 A_JumpIfInventory("GrenadeAmmo", 1, 2)
			TNT1 A 0 A_Print("No Grenades Left.")
			Goto ReadyLoop
			TNT1 A 0 A_GunFlash("GrenadeFlash")
			TNT1 A 10
			GRTH ABCD 1
			TNT1 A 0 A_GiveInventory("FiredGrenade", 1)
			TNT1 A 0 A_Giveinventory("Punching",1)
			TNT1 A 0 A_Giveinventory("GoSpecial",1)
			TNT1 A 0 A_PlaySound("GRNPIN")
			GRTH EEFG 1
			TNT1 A 0 A_PlaySound("GRNTOSS")
			GRTH HI 1
			TNT1 A 0 A_TakeInventory("GrenadeAmmo", 1)
			TNT1 A 0 A_FireCustomMissile("HandGrenade", random(-2, 2), 0, 0, 0, 0, 0)
			TNT1 A 0 A_TakeInventory("FiredGrenade", 1)
			GRTH JKLM 1
			Goto Ready
		
		PallyGrenadeToss:
			TNT1 A 0 A_TakeInventory("TossGrenade", 1)
			TNT1 A 0 A_JumpIfInventory("GrenadeAmmo", 1, 1)
			Goto PallyNoGrenade
			TNT1 A 0 A_GunFlash("GrenadeFlash")
			TNT1 A 0 A_GiveInventory("FiredGrenade", 1)
			TNT1 A 0 A_PlaySound ("GRNPIN")
			TNT1 A 4
			WTFL ABCDEF 1
			TNT1 A 0 A_PLaySound ("GRNTOSS")
			TNT1 A 0 A_TakeInventory("GrenadeAmmo", 1)
			TNT1 A 0 A_FireCustomMissile("HandGrenade", random(-2,2), 0, 0, 0, 0, 0)
			TNT1 A 0 A_TakeInventory("FiredGrenade", 1)
			WTFL GHIJKL 1
			Goto Ready
		PallyNoGrenade:
			TNT1 A 0 A_Print("No Grenades Left.")
			Goto ReadyLoop
		
		CheckTypeWall:
			TNT1 A 0 A_JumpIfInventory("QuickFireSpellSelected", 1, "InitializeFirewall")
			TNT1 A 0 A_JumpIfInventory("QuickFrostSpellSelected", 1, "InitializeIcewall")
			InitializeFirewall:
			TNT1 A 0 A_GunFlash("GrenadeFlash")
			TNT1 A 10
			CONG EFGHI 2 BRIGHT A_FireCustomMissile("LostSoulOnHandFireSpawner",random (-40,40),0,0,3)
			TNT1 A 0 A_PlaySound("Sorcerer/SpellCastLarge", CHAN_VOICE) 		
			TNT1 A 0 A_FireCustomMissile ("Firewall", 0, 1, 0, 0)
			TNT1 A 0 A_SetPitch(-4.0 + pitch)
			TNT1 A 0 A_TakeInventory("BrutalBlueMana", 200)
			TNT1 A 0 A_FireCustomMissile("ShakeYourAssDouble", 0, 0, 0, 0)
			CONE BA 3 A_SetPitch(+2.0 + pitch)
			CONE AAAAA 3 A_FireCustomMissile("LostSoulOnHandFireSpawner",random (-40,40),0,0,3)
			TNT1 A 0 A_TakeInventory("TossGrenade", 1)
			Goto Ready
		
		InitializeIcewall:
			TNT1 A 0 A_PlaySound("Cryomancy/Draw",6)
			TNT1 A 0 A_PlaySound("ICEBRK1")
			F5CH S 5 BRIGHT A_gunflash("FlashWarp")
			F9CH KJ 2 BRIGHT A_TakeInventory("BrutalGreenMana",10)
			F9CH IH 2 BRIGHT A_TakeInventory("BrutalGreenMana",10)
			TNT1 A 0 A_FireCustomMissile("ShakeYourAssDouble", 0, 0, 0, 0)
			TNT1 A 0 A_PlaySound("Sorcerer/SpellCast", CHAN_VOICE) 		
			TNT1 A 0 A_PlaySound("Cryomancy/IceballCast", 1) 
			F9CH G 2 BRIGHT A_FireCustomMissile("IceWall", random(-2,2), 0, -1, 0, 0, random(-2,2))
			F9CH D 1 BRIGHT A_Recoil(15)
			TNT1 A 0 A_SetPitch(-18.0 + pitch)
			QKFR GHIIJJ 4 A_SetPitch(+2.0 + pitch)
			// CONE BAA 7
			TNT1 A 0 A_TakeInventory("TossGrenade", 1)
			Goto Ready
			
			
		DoKick: //14 tic
			TNT1 A 0 A_GunFlash("KickFlash")
			TNT1 A 0 A_TakeInventory("Kicking", 1)
			TNT1 A 0 A_Takeinventory("Zoomed", 1)
			TNT1 A 0 A_Takeinventory("PowerLightAmp", 1)
			TNT1 A 0 A_ZoomFactor(1.0)
			TNT1 A 0 A_Takeinventory("ADSmode", 1)
			TNT1 A 0 A_JumpIf (momZ > 0, "KickInAir")
			TNT1 A 0 A_JumpIf (momZ < 0, "KickInAir")
			TNT1 A 0 A_JumpIf((Abs(VelY) < 1) && (Abs(VelX) < 1), 2)
			TNT1 A 0 A_JumpIfInventory("IsCrouching", 1, "SlideAttack")
			TNT1 A 0 A_JumpIfInventory("PowerStrength", 1, "DoKickWithBerserk")
			TNT1 A 0 A_PlaySound("KICK")
			TNT1 A 0 SetPlayerProperty(0, 1, 0)
			K1CK A 0 A_JumpIfInventory("IsPaladin", 1, 3)
			K2CK A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			KICK A 0
			"####" BCD 1
			"####" A 0 A_FireCustomMissile("KickAttack", 0, 0, 0, -7)
			"####" H 3 
			"####" IGF 1
			"####" "#" 0 SetPlayerProperty(0, 0, 0)
			"####" EDCBA 1 A_JumpIfInventory("Kicking", 1, "KickRight")
			TNT1 A 0 A_JumpIfInventory("Kicking", 1, "KickRight")
			Goto ReadyLoop
	
	
		DoKickWithBerserk:
			TNT1 A 0 A_PlaySound("KICK")
			K1CK A 0 A_JumpIfInventory("IsPaladin", 1, 3)
			K2CK A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			KICK A 0
			"####" BCD 1
			"####" A 0 A_FireCustomMissile("SuperKickAttack", 0, 0, 0, -7)
			"####" H 3
			"####" IGF 1
			"####" ED 1
			"####" CBA 1 A_JumpIfInventory("Kicking", 1, "KickRight")
			TNT1 A 0 A_JumpIfInventory("Kicking", 1, "KickRight")
			Goto ReadyLoop
	
		KickRight: // 15 tic
			TNT1 A 0 A_GunFlash("RightKickFlash")
			K1K2 A 0 A_JumpIfInventory("IsPaladin", 1, 3)
			K2K2 A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			KIK2 A 0 
			"####" "#" 0 A_TakeInventory("Kicking", 1)
			"####" ABC 1
			"####" A 0 A_PlaySound("KICK")
			"####" A 0 
			"####" A 0 A_SetPitch(pitch-9)
			"####" A 0 A_SetAngle(angle+9)
			"####" A 0 A_FireCustomMissile("KickAttack", 0, 0, 0, 0)
			"####" D 1
			"####" A 0 A_SetPitch(pitch+2)
			"####" A 0 A_SetAngle(angle-2)
			"####" D 1
			"####" A 0 A_SetPitch(pitch+2)
			"####" A 0 A_SetAngle(angle-2)
			"####" E 1 
			"####" A 0 A_SetPitch(pitch+1)
			"####" A 0 A_SetAngle(angle-1)
			"####" E 1
			"####" A 0 A_SetPitch(pitch+1)
			"####" A 0 A_SetAngle(angle-1)
			"####" C 1 A_JumpIfInventory("Kicking", 1, "KickInAir")
			"####" A 0 A_SetPitch(pitch+1)
			"####" A 0 A_SetAngle(angle-1)
			"####" B 2 A_JumpIfInventory("Kicking", 1, "KickInAir")
			"####" A 0 A_SetPitch(pitch+1)
			"####" A 0 A_SetAngle(angle-1)
			"####" A 2 A_JumpIfInventory("Kicking", 1, "KickInAir")
			"####" A 0 A_SetPitch(pitch+1)
			"####" A 0 A_SetAngle(angle-1)
			"####" A 2 A_JumpIfInventory("Kicking", 1, "KickInAir")
			"####" A 1 A_JumpIfInventory("Kicking", 1, "KickInAir")
			Goto ReadyLoop
			
		KickInAir: // 18 tics
			TNT1 A 0 A_GunFlash("KickInAirFlash")
			TNT1 A 0 A_TakeInventory("Kicking", 1)
			K1CK J 0 A_JumpIfInventory("IsPaladin", 1, 3)
			K2CK J 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			KICK J 1
			"####" A 0 A_JumpIfInventory("PowerStrength", 1, "KickInAirWithBerserk")
			"####" A 0 A_PlaySound("KICK")
			"####" A 0 A_Recoil(-15)
			"####" JKLMN 1
			"####" A 0 A_FireCustomMissile("AirKickAttack", 0, 0, 0, -31)
			"####" O 3
			"####" PQ 2
			"####" RS 1
			"####" T 1 A_JumpIfInventory("Kicking", 1, "LeftFinishingKick")
			"####" A 2 A_JumpIfInventory("Kicking", 1, "LeftFinishingKick")
			"####" A 1 A_JumpIfInventory("Kicking", 1, "LeftFinishingKick")
			Goto ReadyLoop
			
		KickInAirWithBerserk: //18 tics
			K1CK J 0 A_JumpIfInventory("IsPaladin", 1, 3)
			K2CK J 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			KICK J 0
			"####" A 0 A_PlaySound("KICK")
			"####" A 0 A_Recoil (-15)
			"####" JKLMN 1
			"####" A 0 A_FireCustomMissile("SuperAirKickAttack", 0, 0, 0, -31)
			"####" O 3
			"####" PQ 2
			"####" RS 1
			"####" T 1 A_JumpIfInventory("Kicking", 1, "LeftFinishingKick")
			"####" A 2 A_JumpIfInventory("Kicking", 1, "LeftFinishingKick")
			"####" A 1 A_JumpIfInventory("Kicking", 1, "LeftFinishingKick")
			Goto ReadyLoop
			
		LeftFinishingKick: // 11 tics
			TNT1 A 0 A_GunFlash("LeftKickFlash")
			K1K3 A 0 A_JumpIfInventory("IsPaladin", 1, 3)
			K2K3 A 0 A_JumpIfInventory("IsSorcerer", 1, 2)
			KIK3 A 0
			"####" "#" 0 A_TakeInventory("Kicking", 1)
			"####" A 0 A_Recoil(-10)
			"####" ABC 1
			"####" A 0 A_PlaySound("KICK")
			"####" A 0 A_SetPitch(pitch-9)
			"####" A 0 A_SetAngle(angle-9)
			"####" D 1 A_FireCustomMissile("KickAttack", 0, 0, 0, 0)
			"####" A 0 A_SetPitch(pitch+2)
			"####" A 0 A_SetAngle(angle+3)
			"####" E 1
			"####" A 0 A_SetPitch(pitch+2)
			"####" A 0 A_SetAngle(angle+3)
			"####" F 1 A_FireCustomMissile("KickAttack", 0, 0, 0, 0)
			"####" A 0 A_SetPitch(pitch+1)
			"####" A 0 A_SetAngle(angle+3)
			"####" G 1 
			"####" A 0 A_SetPitch(pitch+1)
			"####" A 0 A_SetAngle(angle+2)
			"####" H 1 A_FireCustomMissile("KickAttack", 0, 0, 0, 0)
			"####" A 0 A_SetPitch(pitch+1)
			"####" A 0 A_SetAngle(angle+2)
			"####" I 1
			"####" A 0 A_SetPitch(pitch+1)
			"####" A 0 A_SetAngle(angle+1)
			"####" J 1 A_FireCustomMissile("KickAttack", 0, 0, 0, 0)
			"####" A 0 A_SetPitch(pitch+1)
			"####" A 0 A_SetAngle(angle+1)
			"####" K 1
			Goto ReadyLoop
			
		SlideAttack:
			TNT1 A 0 A_GunFlash("SlideKickFlashStart")
			TNT1 A 0 SetPlayerProperty(0,1,0)
			KICK A 0 A_Takeinventory("Kicking",1)
			TNT1 A 0 A_PlaySound("KICK")
			TNT1 A 0 A_Recoil (-16)
			TNT1 A 0 A_PlaySound("SlideKickStart", 5)
			S1DK A 0 A_JumpIfInventory("IsPaladin",1,3)
			S2DK A 0 A_JumpIfInventory("IsSorcerer",1,2)
			SLDK A 1
			"####" ABC 1
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" E 1
			"####" A 0 A_Recoil (-14)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			"####" F 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-12)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" G 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-8)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" F 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-6)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" G 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-4)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" F 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-4)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" G 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-3)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" F 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-3)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" G 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-3)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" F 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-2)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" G 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-1)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" F 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-1)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			Goto FinishSlide
			
			"####" G 1 A_FireCustomMissile("SlideAttack", 0, 0, 0, 10)
			"####" A 0 A_Recoil (-2)
			"####" A 0 A_SetPItch(10)
			"####" A 0 A_JumpIfInventory("KickHasHit", 1, "FinishSlideHitWall")
			"####" A 0 A_JumpIfInventory("IsCrouching", 1, 1)
			"####" A 0 A_TakeInventory("KickHasHit", 1)
			Goto FinishSlide
			
		FinishSlide:  //10 tic
			TNT1 A 0 A_Takeinventory("Kicking",1)
			TNT1 A 0 A_GunFlash("SlideKickFlashEnd")
			TNT1 A 0 A_PlaySound("SlideKickStop", 5)
			S1DK H 0 A_JumpIfInventory("IsPaladin",1,3)
			S2DK H 0 A_JumpIfInventory("IsSorcerer",1,2)
			SLDK H 0
			"####" A 0 SetPlayerProperty(0,0,0)		
			"####" A 0 A_JumpIfInventory("IsPaladin",1,2)
			"####" A 0 A_Jump(256,5)
			"####" A 0 A_JumpIfInventory("FiredSecondary",1,2)
			"####" A 0 A_Jump(256,3)
			"####" A 0 A_GiveInventory("DoUppercutNow",1)
			"####" A 0 A_SelectWeapon("Berserker_Melee_Attacks")
			"####" HD 2 A_JumpIfInventory("Kicking", 1, "LeftFinishingKick")
			"####" A 0 A_JumpIfInventory("Kicking", 1, "LeftFinishingKick")
			"####" CBA 2 A_JumpIfInventory("Kicking", 1, "LeftFinishingKick")
			"####" A 0 A_Takeinventory("Kicking",1)
			Goto ReadyLoop	
			
		FinishSlideHitwall:	
			TNT1 A 0 A_GunFlash("SlideKickFlashEnd")
			S1DK H 0 A_JumpIfInventory("IsPaladin",1,3)
			S2DK H 0 A_JumpIfInventory("IsSorcerer",1,2)
			SLDK H 1
			"####" A 0 A_Stop
			"####" HDCBA 2
			"####" A 0 A_TAkeInventory("KickHasHit", 1)
			"####" A 0 A_Takeinventory("Kicking",1)
			"####" A 0 SetPlayerProperty(0,0,0)
			Goto ReadyLoop
		
		Taunt:
			TNT1 A 0 A_JumpIfInventory("IsSorcerer", 1, "TauntBlinkTeleport")
			TNT1 A 0 A_Takeinventory("Zoomed",1)
			TNT1 A 0 A_ZoomFactor(1.0)
			TNT1 A 0 A_Takeinventory("Taunting",1)
			TNT1 A 0 A_JumpIfInventory("IsPaladin", 1, "ReadyLoop")
			TNT1 A 0 A_GunFlash("GrenadeFlash")
			TNT1 A 10
			FUCK A 1
			TNT1 A 0 A_FireCustomMissile("Taunter", 0, 0, -1, 0)
			TNT1 A 0 A_FireCustomMissile("Taunter", -9, 0, -1, 0)
			TNT1 A 0 A_FireCustomMissile("Taunter", 9, 0, -1, 0)
			FUCK B 1 A_PlaySound("FUCK", 2)
			FUCK CD 1 A_AlertMonsters
			FUCK E 15
			FUCK DCBA 1
			Goto Select
			
		TauntBlinkTeleport: //17 tic
			TNT1 A 0 A_TakeInventory("Taunting",1)
			TNT1 A 0 A_GunFlash("GrenadeFlash")
			BlinkageHold:
			TNT1 A 8
			TNT1 A 0 A_ChangeFlag("SPECTRAL", 1)
			TNT1 A 0 A_ChangeFlag("THRUACTORS", 1)
			MLNG ABCD 2 BRIGHT
			TNT1 A 0 A_SpawnItemEx("BlinkTargetMissile", 36*Cos(pitch), 0, 30-36*Sin(pitch), 100*Cos(pitch), 0, -100*Sin(pitch))
			BlinkageHold2:
			MLNG E 1
			TNT1 A 0 A_ChangeVelocity(100*Cos(pitch), 0, -100*Sin(pitch),CVF_REPLACE|CVF_RELATIVE)
			MLNG FG 2 BRIGHT A_ZoomFactor(0.70, ZOOM_INSTANT)
			MLNG HI 2 BRIGHT A_ZoomFactor(1.00)
			MLNG H 0 A_ChangeVelocity(0, 0, 0, CVF_REPLACE)
			TNT1 A 0 A_ChangeFlag("THRUACTORS", 0)
			TNT1 A 0 A_ChangeFlag("SPECTRAL", 0)
			Goto Select
			
		Quickspell:	
			TNT1 A 0 A_TakeInventory("Quickspell", 1)
			TNT1 A 0 A_JumpIfInventory("IsSorcerer", 1, 3)
			TNT1 A 0 A_Print("You are not a mage !")
			TNT1 A 0 A_Jump(256, "ReadyLoop")
			TNT1 A 0 A_Takeinventory("Zoomed",1)
			TNT1 A 0 A_Takeinventory("PowerLightAmp",1)
			TNT1 A 0 A_Takeinventory("ADSmode",1)
			TNT1 A 0 A_JumpIfInventory("QuickFireSpellSelected",1,"QuickFireSpell")
			TNT1 A 0 A_JumpIfInventory("QuickLightningSpellSelected",1,"QuickLightningSpell")
			TNT1 A 0 A_JumpIfInventory("QuickFrostSpellSelected",1,"QuickFrostSpell")
			Goto QuickFireSpell
			
		QuickFireSpell: 
			TNT1 A 0 A_GunFlash("SpellFlash")
			TNT1 A 2
			FOSP AB 1 
			TNT1 A 0 A_AlertMonsters 
			TNT1 A 0 A_PlaySound("IGNITE")
			FOSP CCDD 1 
			FOSP EEFFGG 1 BRIGHT 
			FOSP GGHH 1 BRIGHT
			TNT1 A 0 A_FireCustomMissile("MageFireBall", 0, 1, 0, -10)
			TNT1 A 0 A_SetPitch(-6.0 + pitch)
			TNT1 A 0 A_FireCustomMissile("ShakeYourAssDouble", 0, 0, 0, 0)
			FOSP IJ 1 BRIGHT A_SetPitch(+2 + pitch)
			FOSP KCBBAA 1 A_SetPitch(+0.5 + pitch)
			Goto ReadyLoop
			
		QuickLightningSpell: 
			TNT1 A 0 A_GunFlash("SpellFlash")
			LGQS AB 1 
			TNT1 A 0 A_AlertMonsters 
			TNT1 A 0 A_PlaySound("TPortalZap", CHAN_WEAPON, 2) 
			LGQS CCDD 1 
			LGQS EFGHIJ 1 BRIGHT 
			LGQS KL 1 BRIGHT A_FireCustomMissile("ShakeYourAssQuad", 0, 0, 0, 0)
			TNT1 A 0 A_RailAttack(90, 10, 0, none, "9F 9F FF", RGF_SILENT | RGF_FULLBRIGHT, 25, "LightningPuff", 0, 0, 600, 5,0.001,5.0,"StormTrailParticle",-15) 
			TNT1 A 0 A_SetPitch(-6.0 + pitch)
			TNT1 A 0 A_FireCustomMissile("LightningMissile3", 0, 0, 0,-10)
			TNT1 A 0 A_FireCustomMissile("ShakeYourAssDouble", 0, 0, 0, 0)
			LGQS MNO 1 BRIGHT A_SetPitch(+2 + pitch)
			LGQS PQR 1 BRIGHT A_SetPitch(+0.5 + pitch)
			LGQS FEDCBA 1
			Goto ReadyLoop
			
		QuickFrostSpell:	
			TNT1 A 0 A_GunFlash("SpellFlash")
			TNT1 A 2
			TNT1 A 0 A_Giveinventory("HasFreezerWeapon",1)
			IS1F AABB 1
			IS1F CCDD 1
			IS1F KLF 1
			IS1F MNO 1 BRIGHT
			IS1F A 0 A_Giveinventory("HasFreezerWeapon",1)
			IS1F G 1 BRIGHT A_FireCustomMissile ("BlueFlareSpawn",0,0,0,0)
			IS1F A 0 A_PlaySound("ICESHA", 1)
			IS1F H 1 BRIGHT 
			TNT1 A 0 A_FireCustomMissile("BlueFlareSpawn",0,0,0,0)
			IS1F I 1 BRIGHT A_FireCustomMissile ("FrostShard",random(-5,5),0,0,random(-12,12)) 
			TNT1 A 0 A_FireCustomMissile("BlueFlareSpawn",0,0,0,0)
			IS1F J 1 BRIGHT A_FireCustomMissile ("FrostShard",random(-5,5),0,0,random(-12,12))
			TNT1 A 0 A_Recoil(3)
			TNT1 A 0 A_FireCustomMissile("BlueFlareSpawn",0,0,0,0)
			IS1F K 1 BRIGHT A_FireCustomMissile ("FrostShard",random(-5,5),0,0,random(-12,12))
			TNT1 A 0 A_Takeinventory("HasFreezerWeapon",1)
			IS1F DCBAA 1
			Goto ReadyLoop
		
		SpellFlash:
			MSSF AAABBBCCCCCCCCCCCCCCCBBBAAAA 1
			Stop
			
		KickFlash: //15 tics
			TNT1 A 15
			Stop
		
		LeftKickFlash:
		RightKickFlash:
		SlideKickFlashStart:
		SlideKickFlashEnd:
		KickInAirFlash:
			TNT1 A 0
			Stop
			
		GrenadeFlash:
			TNT1 A 0
			Stop

	}
}

Actor FireEnchantedSMG : TokenBase {}
Actor LightningEnchantedSMG : TokenBase {}
Actor FrostEnchantedSMG : TokenBase {}